package com.qinglei.recoup.app.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 雷达和微信用户关系
 *
 * @author dqh
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_radar_wechat_app")
@ApiModel(value="RadarWechatApp对象", description="雷达和微信用户关系")
public class RadarWechatApp implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id主键")
            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "微信公众号openId")
    private String openId;

    @ApiModelProperty(value = "标签")
    private String tag;

    @ApiModelProperty(value = "设备SN")
    private String snCode;

    @ApiModelProperty(value = "是否为默认设备：0-不是 1-是")
    private Integer isDefault;

    @ApiModelProperty(value = "是否删除：0-未删除 1-已删除")
        @TableLogic
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;


}
